3.280 \(\int x^{-2-3 n} (a x^2+b x^3)^n \, dx\)

Optimal. Leaf size=32 \[ -\frac {x^{-3 (n+1)} \left (a x^2+b x^3\right )^{n+1}}{a (n+1)} \]

[Out]

-(b*x^3+a*x^2)^(1+n)/a/(1+n)/(x^(3+3*n))

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {2014} \[ -\frac {x^{-3 (n+1)} \left (a x^2+b x^3\right )^{n+1}}{a (n+1)} \]

Antiderivative was successfully verified.

[In]

Int[x^(-2 - 3*n)*(a*x^2 + b*x^3)^n,x]

[Out]

-((a*x^2 + b*x^3)^(1 + n)/(a*(1 + n)*x^(3*(1 + n))))

Rule 2014

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> -Simp[(c^(j - 1)*(c*x)^(m - j
+ 1)*(a*x^j + b*x^n)^(p + 1))/(a*(n - j)*(p + 1)), x] /; FreeQ[{a, b, c, j, m, n, p}, x] &&  !IntegerQ[p] && N
eQ[n, j] && EqQ[m + n*p + n - j + 1, 0] && (IntegerQ[j] || GtQ[c, 0])

Rubi steps

\begin {align*} \int x^{-2-3 n} \left (a x^2+b x^3\right )^n \, dx &=-\frac {x^{-3 (1+n)} \left (a x^2+b x^3\right )^{1+n}}{a (1+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 30, normalized size = 0.94 \[ -\frac {x^{-3 (n+1)} \left (x^2 (a+b x)\right )^{n+1}}{a (n+1)} \]

Antiderivative was successfully verified.

[In]

Integrate[x^(-2 - 3*n)*(a*x^2 + b*x^3)^n,x]

[Out]

-((x^2*(a + b*x))^(1 + n)/(a*(1 + n)*x^(3*(1 + n))))

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 38, normalized size = 1.19 \[ -\frac {{\left (b x^{2} + a x\right )} {\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 2}}{a n + a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-2-3*n)*(b*x^3+a*x^2)^n,x, algorithm="fricas")

[Out]

-(b*x^2 + a*x)*(b*x^3 + a*x^2)^n*x^(-3*n - 2)/(a*n + a)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-2-3*n)*(b*x^3+a*x^2)^n,x, algorithm="giac")

[Out]

integrate((b*x^3 + a*x^2)^n*x^(-3*n - 2), x)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 36, normalized size = 1.12 \[ -\frac {\left (b x +a \right ) x^{-3 n -1} \left (b \,x^{3}+a \,x^{2}\right )^{n}}{\left (n +1\right ) a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-2-3*n)*(b*x^3+a*x^2)^n,x)

[Out]

-(b*x+a)*x^(-3*n-1)/a/(n+1)*(b*x^3+a*x^2)^n

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-2-3*n)*(b*x^3+a*x^2)^n,x, algorithm="maxima")

[Out]

integrate((b*x^3 + a*x^2)^n*x^(-3*n - 2), x)

________________________________________________________________________________________

mupad [B]  time = 5.28, size = 54, normalized size = 1.69 \[ -{\left (b\,x^3+a\,x^2\right )}^n\,\left (\frac {x}{x^{3\,n+2}\,\left (n+1\right )}+\frac {b\,x^2}{a\,x^{3\,n+2}\,\left (n+1\right )}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*x^2 + b*x^3)^n/x^(3*n + 2),x)

[Out]

-(a*x^2 + b*x^3)^n*(x/(x^(3*n + 2)*(n + 1)) + (b*x^2)/(a*x^(3*n + 2)*(n + 1)))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{- 3 n - 2} \left (x^{2} \left (a + b x\right )\right )^{n}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-2-3*n)*(b*x**3+a*x**2)**n,x)

[Out]

Integral(x**(-3*n - 2)*(x**2*(a + b*x))**n, x)

________________________________________________________________________________________